package com.book.controller;/**
 * Created by CoolWen on 2017/3/23.
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author CoolWen
 * @version 2017-03-23 23:03
 */
@Controller
public class HelloController {

    @RequestMapping({"/index", "/"})
    public String hello() {
        System.out.println("---------");
        return "index";
    }

}
